import type { RouteRecordRaw } from "vue-router";
/**
 * 费用管理路由
 */
export default [
  { // 门诊消费记录
    path: "/expenseManagement/outpatientRecords",
    name: "outpatientRecords",                  
    children: [
      {// 列表页
        path: "/expenseManagement/outpatientRecords/index",
        name: "outpatientRecordsList",
        component: () => import("@/views/expenseManagement/outpatientRecords/index.vue"),
        meta: {
          crumbs: ["费用管理", "门诊消费记录"],
        },
      },
      { // 详情
        path: "/expenseManagement/outpatientRecords/detail/:id",
        name: "outpatientRecordsDetail",
        component: () => import("@/views/expenseManagement/outpatientRecords/Detail.vue"),
        meta: {
          crumbs: ["费用管理", "门诊消费记录","详情"],
        },
      }
    ]
  },
  // ... 其它费用管理下的子路由
] as RouteRecordRaw[];